
package com.feib.soeasy.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.feib.soeasy.model.UploadFile;
import com.feib.soeasy.model.User;


/**
 * @title (#)AsyncService.java<br>
 * @description 非同步執行Service<br>
 * @author Jimmy Liu<br>
 * @version 1.0.0 2010/11/25
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2010/12/3 create by Jimmy Liu<br>
 */
public interface AsyncService {

    /**
     * @param uploadFilePk
     */
    public void doFileImport(Long uploadFilePk);
    
    /**
     * 繳款人資料轉入
     * @param uploadFilePk
     */
    public void doPayerFileImport(Long uploadFilePk);

    /**
     * @param uploadFilePk
     */
    @Transactional(readOnly = false)
    public void doCreateReport(Long uploadFilePk, User modifyUser);
    
    @Transactional(readOnly = false)
    public void doBatchCreateReport(List<UploadFile> uploadFiles, User modifyUser);

}
